package com.xd.oauth.controller;


import com.xd.auth.api.entity.OauthClientToken;
import com.xd.auth.api.feign.OauthClientTokenClient;
import com.xd.oauth.service.OauthClientTokenService;
import com.xd.common.base.BaseController;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 客户端系统中存储从服务端获取的token数据(OauthClientToken)表控制层
 *
 * @author hbx
 * @since 2020-10-24 15:47:22
 */
@RestController
@RequestMapping("oauthClientToken")
@Transactional(rollbackFor = Exception.class)
public class OauthClientTokenController extends BaseController<OauthClientTokenService, OauthClientToken,String> implements OauthClientTokenClient {

    @Resource
    private OauthClientTokenService OauthClientTokenService;

}
